package com.cn.mmd.model;

public class Schoolwork {
    private Integer schoolworkid;

    private String releasetime;

    private String handovertime;

    private String schoolworkcontent;

    private String schoolworkurl;

    private String teacherid;

    private String courseskuid;

    private String workname;           //作业名 题目

    private Integer startrow;         //查第几页

    private Integer pageSize;         //分页有多少条数据

    public Schoolwork(){
    }

    public Schoolwork(Integer startrow, Integer pageSize, String workname) {
        this.startrow = startrow;
        this.pageSize = pageSize;
        this.workname = workname;
    }

    public Schoolwork(String workname, Integer startrow, Integer pageSize,String teacherid) {
        this.workname = workname;
        this.startrow = startrow;
        this.pageSize = pageSize;
        this.teacherid = teacherid;
    }

    public Schoolwork(String teacherid, String courseskuid, String schoolworkcontent,
                      String handovertime, String releasetime,String workname,String schoolworkurl) {
        this.teacherid = teacherid;
        this.courseskuid = courseskuid;
        this.schoolworkcontent = schoolworkcontent;
        this.handovertime = handovertime;
        this.releasetime = releasetime;
        this.workname = workname;
        this.schoolworkurl = schoolworkurl;
    }

    public Integer getStartrow() {
        return startrow;
    }

    public void setStartrow(Integer startrow) {
        this.startrow = startrow;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getSchoolworkid() {
        return schoolworkid;
    }

    public void setSchoolworkid(Integer schoolworkid) {
        this.schoolworkid = schoolworkid;
    }

    public String getReleasetime() {
        return releasetime;
    }

    public void setReleasetime(String releasetime) {
        this.releasetime = releasetime == null ? null : releasetime.trim();
    }

    public String getHandovertime() {
        return handovertime;
    }

    public void setHandovertime(String handovertime) {
        this.handovertime = handovertime == null ? null : handovertime.trim();
    }

    public String getSchoolworkcontent() {
        return schoolworkcontent;
    }

    public void setSchoolworkcontent(String schoolworkcontent) {
        this.schoolworkcontent = schoolworkcontent == null ? null : schoolworkcontent.trim();
    }

    public String getSchoolworkurl() {
        return schoolworkurl;
    }

    public void setSchoolworkurl(String schoolworkurl) {
        this.schoolworkurl = schoolworkurl == null ? null : schoolworkurl.trim();
    }

    public String getTeacherid() {
        return teacherid;
    }

    public void setTeacherid(String teacherid) {
        this.teacherid = teacherid == null ? null : teacherid.trim();
    }

    public String getCourseskuid() {
        return courseskuid;
    }

    public void setCourseskuid(String courseskuid) {
        this.courseskuid = courseskuid;
    }

    public String getWorkname() {
        return workname;
    }

    public void setWorkname(String workname) {
        this.workname = workname == null ? null : workname.trim();
    }
}